package org.jeecg.modules.reserve.service.impl;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import javafx.geometry.Point2D;
import org.jeecg.modules.reserve.entity.SdxcReserve;
import org.jeecg.modules.reserve.entity.SdxcReserveEntry;
import org.jeecg.modules.reserve.entity.SdxcReservePlace;
import org.jeecg.modules.reserve.mapper.SdxcReserveEntryMapper;
import org.jeecg.modules.reserve.service.ISdxcReserveEntryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: sdxc_reserve_entry
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Service
public class SdxcReserveEntryServiceImpl extends ServiceImpl<SdxcReserveEntryMapper, SdxcReserveEntry> implements ISdxcReserveEntryService {

    @Autowired
    private SdxcReserveEntryMapper sdxcReserveEntryMapper;
    @Override
    public Integer getEntryCountByReserveId(String reserveId) {
        return sdxcReserveEntryMapper.getEntrycout(reserveId);
    }


}
